import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import installElementPlus from './plugins/element'
import i18n from '@/i18n'
// 初始化样式表
import '@/styles/index.scss'
import installIcon from '@/icons'
import installFilter from '@/filters'
import installDirective from '@/directives'
// 导入权限控制模块
import './permission'

const app = createApp(App)
installFilter(app)
installElementPlus(app)
installIcon(app)
installDirective(app)
app.use(i18n)
app.use(store).use(router).mount('#app')
